package com.eightworld3.supermarket.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author EightWorld3
 */
@Schema(description = "商品价格")
@TableName("ware_price")
public class WarePrice {
    /**
     * primary key
     */
    @TableId
    private int warePriceId;

    /**
     * foreign key
     */
    @Schema(name = "wareId",example = "1",requiredMode = Schema.RequiredMode.REQUIRED,description = "商品id")
    private int wareId;

    @Schema(name = "warePrice",example = "10",requiredMode = Schema.RequiredMode.REQUIRED,description = "商品价格")
    private float warePrice;

    @Schema(name = "wareDiscount",example = "10",requiredMode = Schema.RequiredMode.REQUIRED,description = "商品折扣")
    private float wareDiscount;

    @Schema(name = "remark",example = "备注",description = "商品备注")
    private String remark;

    public int getWarePriceId() {
        return warePriceId;
    }

    public void setWarePriceId(int warePriceId) {
        this.warePriceId = warePriceId;
    }

    public int getWareId() {
        return wareId;
    }

    public void setWareId(int wareId) {
        this.wareId = wareId;
    }

    public float getWarePrice() {
        return warePrice;
    }

    public void setWarePrice(float warePrice) {
        this.warePrice = warePrice;
    }

    public float getWareDiscount() {
        return wareDiscount;
    }

    public void setWareDiscount(float wareDiscount) {
        this.wareDiscount = wareDiscount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
